projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
013aabf
)
Auto-commit of generated files.
author
Glenn Morris
<rgm@gnu.org>
Wed, 4 Jul 2012 10:17:38 +0000
(06:17 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 4 Jul 2012 10:17:38 +0000
(06:17 -0400)
autogen/configure
patch
|
blob
|
history
diff --git
a/autogen/configure
b/autogen/configure
index 9634fe55ec1ae05a8584895734881ef567bab37b..47c21af749d786668e4899cbffd4c13b53e8c9e9 100755
(executable)
--- a/
autogen/configure
+++ b/
autogen/configure
@@
-7157,6
+7157,12
@@
fi
nw="$nw -Wsuggest-attribute=const"
nw="$nw -Wsuggest-attribute=pure"
+ # Some loops can't be optimized with -O1,
+ # so remove -Wunsafe-loop-optimizations.
+ if echo "$CFLAGS" | $EGREP 'O1' 1>/dev/null; then
+ nw="$nw -Wunsafe-loop-optimizations"
+ fi
+
if test -n "$GCC"; then